package com.ziyueyuwen.xiniao.bean.homework;

import com.ziyueyuwen.xiniao.enums.ItemTypeEnum;

/**
 * @author jun 2018/12/11.
 */
public class ItemData {
    private ItemTypeEnum itemType;
    private String itemValue;

    /**
     * 新连线题右侧数据的小题分值;
     * 拖拽题分值;
     */
    private Integer score;

    /**
     * 新连线题右侧数据对应左侧数据的下标, 从 1 开始
     */
    private Integer left;

    /**
     * 下标, 从 1 开始
     */
    private Integer idx;

    public ItemData() {
        idx = 0;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getLeft() {
        return left;
    }

    public void setLeft(Integer left) {
        this.left = left;
    }

    public ItemTypeEnum getItemType() {
        return itemType;
    }

    public void setItemType(ItemTypeEnum itemType) {
        this.itemType = itemType;
    }

    public String getItemValue() {
        return itemValue;
    }

    public void setItemValue(String itemValue) {
        this.itemValue = itemValue;
    }

    public Integer getIdx() {
        return idx;
    }

    public void setIdx(Integer idx) {
        this.idx = idx;
    }
}
